<table>
	<tr>
		<td>
			<a class="button" href="<?php echo $this->baseUrl() ?>/cptags/list">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/left_16.png);" class="inb">Wróć do listy</div>
			</a>
		</td>
		<td>
			<a class="button" href="javascript:void(null)" onclick="$('#formitem').submit()">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/save_16.png);" class="inb">Zapisz</div>
			</a>
		</td>
	</tr>
</table>

<form id="formitem" action="<?php echo $this->baseUrl() ?>/cptags/item<?php echo isSet( $this->t_id ) ? '/id/' . $this->t_id : '' ?>" method="post">
<table cellspacing="0" cellpadding="6" class="tform">
	<tr>
		<td class="lb">Nazwa PL:</td>
		<td class="inpy">
			<?php if( isSet( $this->err_name_pl ) ) { ?>
				<input style="border:1px solid red;" type="text" name="name_pl" value="" />
				<div class="formerror"><?php echo $this->err_name_pl ?></div>
			<?php } else { ?>
				<input type="text" name="name_pl" value="<?php echo $this->name_pl ?>" />
			<?php } ?>
		</td>
	</tr>
	<tr>
		<td class="lb">Nazwa EN:</td>
		<td class="inpy"><input type="text" name="name_en" value="<?php echo $this->name_en ?>" /></td>
	</tr>
	<tr>
		<td class="lb">Nazwa CS:</td>
		<td class="inpy"><input type="text" name="name_cs" value="<?php echo $this->name_cs ?>" /></td>
	</tr>
</table>
</form>